import request from '@/utils/request'

/**
 * 获取合作伙伴
 */

export function getPartner(data) {
  return request({
    url: '/partner/list',
    method: 'get',
    data
  })
}

// 删除合作伙伴
export function deletePartner(data) {
  return request({
    url: '/partner/delete',
    method: 'post',
    data
  })
}

